home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / appshell / nsIWindowMediator.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  20KB  |  388 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIWindowMediator.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIWindowMediator_h__
  6. #define __gen_nsIWindowMediator_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsISimpleEnumerator_h__
  14. #include "nsISimpleEnumerator.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21. #define NS_WINDOWMEDIATOR_CID \
  22. { 0x0659cb83, 0xfaad, 0x11d2, { 0x8e, 0x19, 0xb2, 0x06, 0x62, 0x0a, 0x65, 0x7c } }
  23. #define NS_WINDOWMEDIATOR_CONTRACTID \
  24.   "@mozilla.org/appshell/window-mediator;1"
  25. class nsIXULWindow; /* forward declaration */
  26.  
  27. class nsIWidget; /* forward declaration */
  28.  
  29. class nsIDOMWindowInternal; /* forward declaration */
  30.  
  31. class nsIWindowMediatorListener; /* forward declaration */
  32.  
  33.  
  34. /* starting interface:    nsIWindowMediator */
  35. #define NS_IWINDOWMEDIATOR_IID_STR "0659cb81-faad-11d2-8e19-b206620a657c"
  36.  
  37. #define NS_IWINDOWMEDIATOR_IID \
  38.   {0x0659cb81, 0xfaad, 0x11d2, \
  39.     { 0x8e, 0x19, 0xb2, 0x06, 0x62, 0x0a, 0x65, 0x7c }}
  40.  
  41. class NS_NO_VTABLE nsIWindowMediator : public nsISupports {
  42.  public: 
  43.  
  44.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IWINDOWMEDIATOR_IID)
  45.  
  46.   /** Return an enumerator which iterates over all windows of type aWindowType
  47.     * from the oldest window to the youngest.
  48.     * @param  aWindowType the returned enumerator will enumerate only
  49.     *                     windows of this type. ("type" is the
  50.     *                     |windowtype| attribute of the XML <window> element.)
  51.     *                     If null, all windows will be enumerated.
  52.     * @return an enumerator of nsIDOMWindows
  53.     */
  54.   /* nsISimpleEnumerator getEnumerator (in wstring aWindowType); */
  55.   NS_IMETHOD GetEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval) = 0;
  56.  
  57.   /** Identical to getEnumerator except:
  58.     * @return an enumerator of nsIXULWindows
  59.   */
  60.   /* nsISimpleEnumerator getXULWindowEnumerator (in wstring aWindowType); */
  61.   NS_IMETHOD GetXULWindowEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval) = 0;
  62.  
  63.   /** Return an enumerator which iterates over all windows of type aWindowType
  64.     * in their z (front-to-back) order. Note this interface makes
  65.     * no requirement that a window couldn't be revisited if windows
  66.     * are re-ordered while z-order enumerators are active.
  67.     * @param  aWindowType the returned enumerator will enumerate only
  68.     *                     windows of this type. ("type" is the
  69.     *                     |windowtype| attribute of the XML <window> element.)
  70.     *                     If null, all windows will be enumerated.
  71.     * @param  aFrontToBack if true, the enumerator enumerates windows in order
  72.     *                      from front to back. back to front if false.
  73.     * @return an enumerator of nsIDOMWindows
  74.     */
  75.   /* nsISimpleEnumerator getZOrderDOMWindowEnumerator (in wstring aWindowType, in boolean aFrontToBack); */
  76.   NS_IMETHOD GetZOrderDOMWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval) = 0;
  77.  
  78.   /** Identical to getZOrderDOMWindowEnumerator except:
  79.     * @return an enumerator of nsIXULWindows
  80.     */
  81.   /* nsISimpleEnumerator getZOrderXULWindowEnumerator (in wstring aWindowType, in boolean aFrontToBack); */
  82.   NS_IMETHOD GetZOrderXULWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval) = 0;
  83.  
  84.   /** This is a shortcut for simply fetching the first window in
  85.     * front to back order.
  86.     * @param  aWindowType return the topmost window of this type.
  87.     *                     ("type" is the |windowtype| attribute of
  88.     *                     the XML <window> element.)
  89.     *                     If null, return the topmost window of any type.
  90.     * @return the topmost window
  91.     */
  92.   /* nsIDOMWindowInternal getMostRecentWindow (in wstring aWindowType); */
  93.   NS_IMETHOD GetMostRecentWindow(const PRUnichar *aWindowType, nsIDOMWindowInternal **_retval) = 0;
  94.  
  95.   /** Add the window to the list of known windows. Listeners (see
  96.     * addListener) will be notified through their onOpenWindow method.
  97.     * @param aWindow the window to add
  98.     */
  99.   /* [noscript] void registerWindow (in nsIXULWindow aWindow); */
  100.   NS_IMETHOD RegisterWindow(nsIXULWindow *aWindow) = 0;
  101.  
  102.   /** Remove the window from the list of known windows. Listeners (see
  103.     * addListener) will be be notified through their onCloseWindow method.
  104.     * @param aWindow the window to remove
  105.     */
  106.   /* [noscript] void unregisterWindow (in nsIXULWindow aWindow); */
  107.   NS_IMETHOD UnregisterWindow(nsIXULWindow *aWindow) = 0;
  108.  
  109.   /** Call this method when a window gains focus. It's a primitive means of
  110.     * determining the most recent window. It's no longer necessary and it
  111.     * really should be removed.
  112.     * @param aWindow the window which has gained focus
  113.     */
  114.   /* [noscript] void updateWindowTimeStamp (in nsIXULWindow aWindow); */
  115.   NS_IMETHOD UpdateWindowTimeStamp(nsIXULWindow *aWindow) = 0;
  116.  
  117.   /** Call this method when a window's title changes. Listeners (see
  118.     * addListener) will be notified through their onWindowTitleChange method.
  119.     * @param aWindow the window whose title has changed
  120.     * @param inTitle the window's new title
  121.     */
  122.   /* [noscript] void updateWindowTitle (in nsIXULWindow aWindow, in wstring inTitle); */
  123.   NS_IMETHOD UpdateWindowTitle(nsIXULWindow *aWindow, const PRUnichar *inTitle) = 0;
  124.  
  125.   enum { zLevelTop = 1U };
  126.  
  127.   enum { zLevelBottom = 2U };
  128.  
  129.   enum { zLevelBelow = 3U };
  130.  
  131.   /** A window wants to be moved in z-order. Calculate whether and how
  132.     * it should be constrained. Note this method is advisory only:
  133.     * it changes nothing either in WindowMediator's internal state
  134.     * or with the window.
  135.     * Note it compares the nsIXULWindow to nsIWidgets. A pure interface
  136.     * would use all nsIXULWindows. But we expect this to be called from
  137.     * callbacks originating in native window code. They are expected to
  138.     * hand us comparison values which are pulled from general storage
  139.     * in the native widget, and may not correspond to an nsIWidget at all.
  140.     * For that reason this interface requires only objects one step
  141.     * removed from the native window (nsIWidgets), and its implementation
  142.     * must be very understanding of what may be completely invalid
  143.     * pointers in those parameters.
  144.     *
  145.     * @param inWindow the window in question
  146.     * @param inPosition requested position
  147.     *                   values: zLevelTop: topmost window. zLevelBottom: bottom.
  148.     *                   zLevelBelow: below ioBelow. (the value of ioBelow will
  149.     *                   be ignored for zLevelTop and Bottom.)
  150.     * @param inBelow if inPosition==zLevelBelow, the window
  151.     *                 below which inWindow wants to be placed. Otherwise this
  152.     *                 variable is ignored.
  153.     * @param outPosition constrained position, values like inPosition.
  154.     * @param outBelow if outPosition==zLevelBelow, the window
  155.     *                 below which inWindow should be placed. Otherwise this
  156.     *                 this value will be null.
  157.     * @return PR_TRUE if the position returned is different from
  158.     *         the position given.
  159.     */
  160.   /* [noscript] boolean calculateZPosition (in nsIXULWindow inWindow, in unsigned long inPosition, in nsIWidget inBelow, out unsigned long outPosition, out nsIWidget outBelow); */
  161.   NS_IMETHOD CalculateZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIWidget *inBelow, PRUint32 *outPosition, nsIWidget **outBelow, PRBool *_retval) = 0;
  162.  
  163.   /** A window has been positioned behind another. Inform WindowMediator
  164.     * @param inWindow the window in question
  165.     * @param inPosition new position. values:
  166.     *                   zLevelTop: topmost window.
  167.     *                   zLevelBottom: bottom.
  168.     *                   zLevelBelow: below inBelow. (inBelow is ignored
  169.     *                                for other values of inPosition.)
  170.     * @param inBelow the window inWindow is behind, if zLevelBelow
  171.     */
  172.   /* [noscript] void setZPosition (in nsIXULWindow inWindow, in unsigned long inPosition, in nsIXULWindow inBelow); */
  173.   NS_IMETHOD SetZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIXULWindow *inBelow) = 0;
  174.  
  175.   /** Return the window's Z level (as defined in nsIXULWindow).
  176.     * @param aWindow the window in question
  177.     * @return aWindow's z level
  178.     */
  179.   /* [noscript] PRUint32 getZLevel (in nsIXULWindow aWindow); */
  180.   NS_IMETHOD GetZLevel(nsIXULWindow *aWindow, PRUint32 *_retval) = 0;
  181.  
  182.   /** Set the window's Z level (as defined in nsIXULWindow). The implementation
  183.     * will reposition the window as necessary to match its new Z level.
  184.     * The implementation will assume a window's Z level to be
  185.     * nsIXULWindow::normalZ until it has been informed of a different level.
  186.     * @param aWindow the window in question
  187.     * @param aZLevel the window's new Z level
  188.     */
  189.   /* [noscript] void setZLevel (in nsIXULWindow aWindow, in PRUint32 aZLevel); */
  190.   NS_IMETHOD SetZLevel(nsIXULWindow *aWindow, PRUint32 aZLevel) = 0;
  191.  
  192.   /** Register a listener for window status changes.
  193.     * keeps strong ref? (to be decided)
  194.     * @param aListener the listener to register
  195.     */
  196.   /* void addListener (in nsIWindowMediatorListener aListener); */
  197.   NS_IMETHOD AddListener(nsIWindowMediatorListener *aListener) = 0;
  198.  
  199.   /** Unregister a listener of window status changes.
  200.     * @param aListener the listener to unregister
  201.     */
  202.   /* void removeListener (in nsIWindowMediatorListener aListener); */
  203.   NS_IMETHOD RemoveListener(nsIWindowMediatorListener *aListener) = 0;
  204.  
  205. };
  206.  
  207. /* Use this macro when declaring classes that implement this interface. */
  208. #define NS_DECL_NSIWINDOWMEDIATOR \
  209.   NS_IMETHOD GetEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval); \
  210.   NS_IMETHOD GetXULWindowEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval); \
  211.   NS_IMETHOD GetZOrderDOMWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval); \
  212.   NS_IMETHOD GetZOrderXULWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval); \
  213.   NS_IMETHOD GetMostRecentWindow(const PRUnichar *aWindowType, nsIDOMWindowInternal **_retval); \
  214.   NS_IMETHOD RegisterWindow(nsIXULWindow *aWindow); \
  215.   NS_IMETHOD UnregisterWindow(nsIXULWindow *aWindow); \
  216.   NS_IMETHOD UpdateWindowTimeStamp(nsIXULWindow *aWindow); \
  217.   NS_IMETHOD UpdateWindowTitle(nsIXULWindow *aWindow, const PRUnichar *inTitle); \
  218.   NS_IMETHOD CalculateZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIWidget *inBelow, PRUint32 *outPosition, nsIWidget **outBelow, PRBool *_retval); \
  219.   NS_IMETHOD SetZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIXULWindow *inBelow); \
  220.   NS_IMETHOD GetZLevel(nsIXULWindow *aWindow, PRUint32 *_retval); \
  221.   NS_IMETHOD SetZLevel(nsIXULWindow *aWindow, PRUint32 aZLevel); \
  222.   NS_IMETHOD AddListener(nsIWindowMediatorListener *aListener); \
  223.   NS_IMETHOD RemoveListener(nsIWindowMediatorListener *aListener); 
  224.  
  225. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  226. #define NS_FORWARD_NSIWINDOWMEDIATOR(_to) \
  227.   NS_IMETHOD GetEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval) { return _to GetEnumerator(aWindowType, _retval); } \
  228.   NS_IMETHOD GetXULWindowEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval) { return _to GetXULWindowEnumerator(aWindowType, _retval); } \
  229.   NS_IMETHOD GetZOrderDOMWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval) { return _to GetZOrderDOMWindowEnumerator(aWindowType, aFrontToBack, _retval); } \
  230.   NS_IMETHOD GetZOrderXULWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval) { return _to GetZOrderXULWindowEnumerator(aWindowType, aFrontToBack, _retval); } \
  231.   NS_IMETHOD GetMostRecentWindow(const PRUnichar *aWindowType, nsIDOMWindowInternal **_retval) { return _to GetMostRecentWindow(aWindowType, _retval); } \
  232.   NS_IMETHOD RegisterWindow(nsIXULWindow *aWindow) { return _to RegisterWindow(aWindow); } \
  233.   NS_IMETHOD UnregisterWindow(nsIXULWindow *aWindow) { return _to UnregisterWindow(aWindow); } \
  234.   NS_IMETHOD UpdateWindowTimeStamp(nsIXULWindow *aWindow) { return _to UpdateWindowTimeStamp(aWindow); } \
  235.   NS_IMETHOD UpdateWindowTitle(nsIXULWindow *aWindow, const PRUnichar *inTitle) { return _to UpdateWindowTitle(aWindow, inTitle); } \
  236.   NS_IMETHOD CalculateZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIWidget *inBelow, PRUint32 *outPosition, nsIWidget **outBelow, PRBool *_retval) { return _to CalculateZPosition(inWindow, inPosition, inBelow, outPosition, outBelow, _retval); } \
  237.   NS_IMETHOD SetZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIXULWindow *inBelow) { return _to SetZPosition(inWindow, inPosition, inBelow); } \
  238.   NS_IMETHOD GetZLevel(nsIXULWindow *aWindow, PRUint32 *_retval) { return _to GetZLevel(aWindow, _retval); } \
  239.   NS_IMETHOD SetZLevel(nsIXULWindow *aWindow, PRUint32 aZLevel) { return _to SetZLevel(aWindow, aZLevel); } \
  240.   NS_IMETHOD AddListener(nsIWindowMediatorListener *aListener) { return _to AddListener(aListener); } \
  241.   NS_IMETHOD RemoveListener(nsIWindowMediatorListener *aListener) { return _to RemoveListener(aListener); } 
  242.  
  243. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  244. #define NS_FORWARD_SAFE_NSIWINDOWMEDIATOR(_to) \
  245.   NS_IMETHOD GetEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnumerator(aWindowType, _retval); } \
  246.   NS_IMETHOD GetXULWindowEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetXULWindowEnumerator(aWindowType, _retval); } \
  247.   NS_IMETHOD GetZOrderDOMWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetZOrderDOMWindowEnumerator(aWindowType, aFrontToBack, _retval); } \
  248.   NS_IMETHOD GetZOrderXULWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetZOrderXULWindowEnumerator(aWindowType, aFrontToBack, _retval); } \
  249.   NS_IMETHOD GetMostRecentWindow(const PRUnichar *aWindowType, nsIDOMWindowInternal **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMostRecentWindow(aWindowType, _retval); } \
  250.   NS_IMETHOD RegisterWindow(nsIXULWindow *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->RegisterWindow(aWindow); } \
  251.   NS_IMETHOD UnregisterWindow(nsIXULWindow *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->UnregisterWindow(aWindow); } \
  252.   NS_IMETHOD UpdateWindowTimeStamp(nsIXULWindow *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateWindowTimeStamp(aWindow); } \
  253.   NS_IMETHOD UpdateWindowTitle(nsIXULWindow *aWindow, const PRUnichar *inTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateWindowTitle(aWindow, inTitle); } \
  254.   NS_IMETHOD CalculateZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIWidget *inBelow, PRUint32 *outPosition, nsIWidget **outBelow, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CalculateZPosition(inWindow, inPosition, inBelow, outPosition, outBelow, _retval); } \
  255.   NS_IMETHOD SetZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIXULWindow *inBelow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetZPosition(inWindow, inPosition, inBelow); } \
  256.   NS_IMETHOD GetZLevel(nsIXULWindow *aWindow, PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetZLevel(aWindow, _retval); } \
  257.   NS_IMETHOD SetZLevel(nsIXULWindow *aWindow, PRUint32 aZLevel) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetZLevel(aWindow, aZLevel); } \
  258.   NS_IMETHOD AddListener(nsIWindowMediatorListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddListener(aListener); } \
  259.   NS_IMETHOD RemoveListener(nsIWindowMediatorListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveListener(aListener); } 
  260.  
  261. #if 0
  262. /* Use the code below as a template for the implementation class for this interface. */
  263.  
  264. /* Header file */
  265. class nsWindowMediator : public nsIWindowMediator
  266. {
  267. public:
  268.   NS_DECL_ISUPPORTS
  269.   NS_DECL_NSIWINDOWMEDIATOR
  270.  
  271.   nsWindowMediator();
  272.  
  273. private:
  274.   ~nsWindowMediator();
  275.  
  276. protected:
  277.   /* additional members */
  278. };
  279.  
  280. /* Implementation file */
  281. NS_IMPL_ISUPPORTS1(nsWindowMediator, nsIWindowMediator)
  282.  
  283. nsWindowMediator::nsWindowMediator()
  284. {
  285.   /* member initializers and constructor code */
  286. }
  287.  
  288. nsWindowMediator::~nsWindowMediator()
  289. {
  290.   /* destructor code */
  291. }
  292.  
  293. /* nsISimpleEnumerator getEnumerator (in wstring aWindowType); */
  294. NS_IMETHODIMP nsWindowMediator::GetEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval)
  295. {
  296.     return NS_ERROR_NOT_IMPLEMENTED;
  297. }
  298.  
  299. /* nsISimpleEnumerator getXULWindowEnumerator (in wstring aWindowType); */
  300. NS_IMETHODIMP nsWindowMediator::GetXULWindowEnumerator(const PRUnichar *aWindowType, nsISimpleEnumerator **_retval)
  301. {
  302.     return NS_ERROR_NOT_IMPLEMENTED;
  303. }
  304.  
  305. /* nsISimpleEnumerator getZOrderDOMWindowEnumerator (in wstring aWindowType, in boolean aFrontToBack); */
  306. NS_IMETHODIMP nsWindowMediator::GetZOrderDOMWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval)
  307. {
  308.     return NS_ERROR_NOT_IMPLEMENTED;
  309. }
  310.  
  311. /* nsISimpleEnumerator getZOrderXULWindowEnumerator (in wstring aWindowType, in boolean aFrontToBack); */
  312. NS_IMETHODIMP nsWindowMediator::GetZOrderXULWindowEnumerator(const PRUnichar *aWindowType, PRBool aFrontToBack, nsISimpleEnumerator **_retval)
  313. {
  314.     return NS_ERROR_NOT_IMPLEMENTED;
  315. }
  316.  
  317. /* nsIDOMWindowInternal getMostRecentWindow (in wstring aWindowType); */
  318. NS_IMETHODIMP nsWindowMediator::GetMostRecentWindow(const PRUnichar *aWindowType, nsIDOMWindowInternal **_retval)
  319. {
  320.     return NS_ERROR_NOT_IMPLEMENTED;
  321. }
  322.  
  323. /* [noscript] void registerWindow (in nsIXULWindow aWindow); */
  324. NS_IMETHODIMP nsWindowMediator::RegisterWindow(nsIXULWindow *aWindow)
  325. {
  326.     return NS_ERROR_NOT_IMPLEMENTED;
  327. }
  328.  
  329. /* [noscript] void unregisterWindow (in nsIXULWindow aWindow); */
  330. NS_IMETHODIMP nsWindowMediator::UnregisterWindow(nsIXULWindow *aWindow)
  331. {
  332.     return NS_ERROR_NOT_IMPLEMENTED;
  333. }
  334.  
  335. /* [noscript] void updateWindowTimeStamp (in nsIXULWindow aWindow); */
  336. NS_IMETHODIMP nsWindowMediator::UpdateWindowTimeStamp(nsIXULWindow *aWindow)
  337. {
  338.     return NS_ERROR_NOT_IMPLEMENTED;
  339. }
  340.  
  341. /* [noscript] void updateWindowTitle (in nsIXULWindow aWindow, in wstring inTitle); */
  342. NS_IMETHODIMP nsWindowMediator::UpdateWindowTitle(nsIXULWindow *aWindow, const PRUnichar *inTitle)
  343. {
  344.     return NS_ERROR_NOT_IMPLEMENTED;
  345. }
  346.  
  347. /* [noscript] boolean calculateZPosition (in nsIXULWindow inWindow, in unsigned long inPosition, in nsIWidget inBelow, out unsigned long outPosition, out nsIWidget outBelow); */
  348. NS_IMETHODIMP nsWindowMediator::CalculateZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIWidget *inBelow, PRUint32 *outPosition, nsIWidget **outBelow, PRBool *_retval)
  349. {
  350.     return NS_ERROR_NOT_IMPLEMENTED;
  351. }
  352.  
  353. /* [noscript] void setZPosition (in nsIXULWindow inWindow, in unsigned long inPosition, in nsIXULWindow inBelow); */
  354. NS_IMETHODIMP nsWindowMediator::SetZPosition(nsIXULWindow *inWindow, PRUint32 inPosition, nsIXULWindow *inBelow)
  355. {
  356.     return NS_ERROR_NOT_IMPLEMENTED;
  357. }
  358.  
  359. /* [noscript] PRUint32 getZLevel (in nsIXULWindow aWindow); */
  360. NS_IMETHODIMP nsWindowMediator::GetZLevel(nsIXULWindow *aWindow, PRUint32 *_retval)
  361. {
  362.     return NS_ERROR_NOT_IMPLEMENTED;
  363. }
  364.  
  365. /* [noscript] void setZLevel (in nsIXULWindow aWindow, in PRUint32 aZLevel); */
  366. NS_IMETHODIMP nsWindowMediator::SetZLevel(nsIXULWindow *aWindow, PRUint32 aZLevel)
  367. {
  368.     return NS_ERROR_NOT_IMPLEMENTED;
  369. }
  370.  
  371. /* void addListener (in nsIWindowMediatorListener aListener); */
  372. NS_IMETHODIMP nsWindowMediator::AddListener(nsIWindowMediatorListener *aListener)
  373. {
  374.     return NS_ERROR_NOT_IMPLEMENTED;
  375. }
  376.  
  377. /* void removeListener (in nsIWindowMediatorListener aListener); */
  378. NS_IMETHODIMP nsWindowMediator::RemoveListener(nsIWindowMediatorListener *aListener)
  379. {
  380.     return NS_ERROR_NOT_IMPLEMENTED;
  381. }
  382.  
  383. /* End of implementation class template. */
  384. #endif
  385.  
  386.  
  387. #endif /* __gen_nsIWindowMediator_h__ */
  388.